import requests

res = requests.post("http://localhost:8080/shop/mupload",data={
    "username":"wangwu"
}, files ={"pic":open("6.jpg",mode="rb")} )
print(res.status_code,res.text)
